package com.etoak.service;

import com.etoak.vo.DishesVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "dishes-service")
public interface FoodListService {

    @GetMapping("/dishes/item/{id}")
    DishesVO getFoodList(@PathVariable("id") int id);
}
